Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Interface

Iterator<T>

interface Iterator<out T>

Module: System.Collections
Assembly: System.Runtime.dll
Source file: Iterator.rvn

Inherits: Disposable

A disposable cursor over typed elements.

Type parameters

Name Description
T The element type.

Remarks

Development: T is covariant for reference conversions; value-type arguments remain exact.

Properties

1 item
Current: T Gets the current element after MoveNext succeeds. Defined by Iterator<T>.Current · Required implementation (no default).

Methods

2 items
Dispose() -> () Releases the resources governed by this implementation. Inherited from Disposable.Dispose · Defined by Disposable.Dispose · Required implementation (no default).
MoveNext() -> bool Advances to the next element. Defined by Iterator<T>.MoveNext · Required implementation (no default).